#ifndef BOSSPLANE_H
#define BOSSPLANE_H
#include<QPixmap>
#include<QRect>
#include"boss_bullet.h"
#include"config.h"

class Bossplane
{
public:
    Bossplane();
    //boss机是否闲置
    bool m_boss_Free;

    //boss机左右移动的速度
    int m_speed;

    //boss机资源对象
    QPixmap m_boss;

    //boss机坐标
    int m_X;
    int m_Y;

    //boss机矩形边框
    QRect m_Rect;

    //发射子弹
    void shoot();

    //弹夹
    Boss_Bullet m_boss_bullet[BULLET_NUM];

    //发射时间记录
    int m_recorder;

    //boss机生命值
    int m_hp;

    //更新boss机位置
    void updatePosition();

};

#endif // BOSSPLANE_H
